package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 影视评论对象 hy_reviews
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class HyReviews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Long reviewsId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 影视ID */
    @Excel(name = "影视ID")
    private Long movieId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 评论时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commentTime;

    public void setReviewsId(Long reviewsId) 
    {
        this.reviewsId = reviewsId;
    }

    public Long getReviewsId() 
    {
        return reviewsId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setMovieId(Long movieId) 
    {
        this.movieId = movieId;
    }

    public Long getMovieId() 
    {
        return movieId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setCommentTime(Date commentTime) 
    {
        this.commentTime = commentTime;
    }

    public Date getCommentTime() 
    {
        return commentTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reviewsId", getReviewsId())
            .append("userId", getUserId())
            .append("movieId", getMovieId())
            .append("content", getContent())
            .append("commentTime", getCommentTime())
            .toString();
    }
}
